package com.olap.starter.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.olap.starter.pojo.TableConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author WBG
 * @since 2022-08-31
 */
public interface TableConfigMapper extends BaseMapper<TableConfig> {
    int getVersion(long uuid);
    List<TableConfig> getTableConfigList(@Param("uuid") Long uuid,@Param("theme") String theme);
    TableConfig getTableConfigAndDbNameById(Long id);
}
